package com.myapp.general;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class GeneralTest {
  public EntityManager getEntityManager(){	  
	  EntityManagerFactory  emf = Persistence.createEntityManagerFactory("finanzaSacoPU");
	  EntityManager  em = emf.createEntityManager();
	  return em;
  }
}
